package cn.dansj.common.mail.utils;

public interface MailSender {
	default void send(SimpleMailMessage simpleMessage) throws MailException {
		send(new SimpleMailMessage[] {simpleMessage});
	}

	void send(SimpleMailMessage... simpleMessages) throws MailException;
}
